package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallKdDao;
import com.appkubes.mall.core.entity.MallKd;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallKdService extends AbstractBaseService<BaseMallKdDao, MallKd> {

    MallKd getOneByEntity(MallKd entity);

    List<MallKd> selectListByEntity(MallKd entity);

    IPage<MallKd> selectPageByEntity(IPage<MallKd> page);
    IPage<MallKd> selectPageByEntity(PageVO pageVO);

    IPage<MallKd> selectPageByEntity(MallKd entity, IPage<MallKd> page);
    IPage<MallKd> selectPageByEntity(MallKd entity, PageVO pageVO);

    IPage<MallKd> selectPageByEntity(MallKd entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallKd entity);
}
